<ion-header>
  <ion-toolbar color="primary">
    <ion-buttons slot="start">
      <ion-back-button></ion-back-button>
    </ion-buttons>
    <ion-title *ngIf="itype==1">初创企业列表</ion-title>
    <ion-title *ngIf="itype==2">成长企业列表</ion-title>
    <ion-title *ngIf="itype==3">成熟企业列表</ion-title>
  </ion-toolbar>
</ion-header>
<ion-content>
    <ion-card>
       <!-- <ion-label>企业的荣誉发布，产品推介，消息动态等</ion-label>
        <ion-label slot="end"><ion-button color="primary" (click)="download()">文档下载</ion-button></ion-label>
         <div class='details' style="width:100%" (click)="download()">
            <img src="assets/image/down.png">
        </div>  --> 
    </ion-card>
  <ion-list>
    <ion-item *ngIf="items.length == 0">
      <span style="width:200px;text-align:center;color:Red;margin: 0px auto">暂无数据</span>
    </ion-item>
    <ion-item *ngFor="let item of items;let i=index" (click)="goToDetails(item.iid)">
      {{i+1}}.{{item.cname}} 
    </ion-item>
  </ion-list>
  <ion-infinite-scroll (ionInfinite)="doUpRefresh($event)">
    <ion-infinite-scroll-content loadingText="正在加载数据" loadingSpinner="bubbles"></ion-infinite-scroll-content>
  </ion-infinite-scroll>
</ion-content>
